<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>welcome</title>
</head>
<body>
<div th:include="fragments/header :: header">...</div>
<h3 th:text="${title}">Welcome to springboot</h3>
<form action="/sysUsers" th:action="@{/sysUsers}" method="post" th:object="${user}" >
    <input type="hidden" name="id" th:value="${user.id}">
    名称：<br>
    <input type="text" name="name" th:value="*{name}">
    <br>
    年龄：<br>
    <input type="text" name="age" th:value="*{age}">
    <input type="submit" value="提交">
</form>



<div th:include="fragments/footer :: footer">...</div>

</body>
</html>